﻿package 
{
    import flash.display.*;
    import flash.utils.*;

    public class McFactionMonsterFace extends MovieClip
    {
        private var inter:uint = 0;

        public function McFactionMonsterFace()
        {
            var _loc_1:* = Math.random() * this.totalFrames + 1;
            this.gotoAndStop(_loc_1);
            setTimeout(this.hidden, 2000);
            return;
        }// end function

        private function hidden() : void
        {
            this.inter = setInterval(this.hiddenCatton, 30);
            return;
        }// end function

        private function hiddenCatton() : void
        {
            this.alpha = this.alpha - 0.05;
            if (this.alpha <= 0)
            {
                clearInterval(this.inter);
            }
            return;
        }// end function

        public function get bHidden() : Boolean
        {
            return this.alpha <= 0;
        }// end function

    }
}
